import type {
    ResponseData,
} from "../../common/type";


//定义获取日志分页列表
export interface LogListReponseData extends ResponseData{
    result:{
        data:LogList,
        page:number,
        items:number,
        pageSize:number,
        currentPage:number,
        pageCount:number
    }
}

export interface LogList {
    logList: LogInfo[]
}

export interface LogInfo {
    "id": number,
    "type": number,
    "username": string,
    "requestId": string,
    "operation": string,
    "time": number,
    "method": string,
    "params": string,
    "ip": string,
    "createTime": string,
    "code": string,
    "msg": string
}

//获取当前登录用户对象
export interface LogInfoReponseData extends ResponseData{
    result:{
        "id": number,
        "type": number,
        "typeStr": string,
        "username": string,
        "requestId": string,
        "operation": string,
        "time": number,
        "method": string,
        "params": string,
        "ip": string,
        "createTime": string,
        "code": string,
        "msg": string
    }
}
